package excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author chenwenhao
 * @version 1.0.0
 * @ClassName excel.ExcelTest.java
 * @Description TODO
 * @createTime 2020/11/29,16:28
 *  alibaba easyexcel测试实体类
 */
@Data
public class ExcelData {

    //设置表头名,和所属位置
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
